package com.lelouch.wetlandcommon.domain.device;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Document(collection = "SiteInfo")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SiteInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	private String id;
	@Field("siin_wetlandname")
	private String wetlandname;//主体名称
	@Field("siin_sno")
	private String sno;//编号
	@Field("siin_name")
	private String name;//站点名称
	@Field("siin_type")
	private String type;//类型
	@Field("siin_address")
	private String address;//地址
	@Field("siin_coordinates")
	private Coordinates coordinates;//坐标
	@Field("siin_samples")
	private List<String> samples= new ArrayList<String>();
	@Field("siin_samplesites")
	private List<String> samplesites = new ArrayList<String>();
	@Field("siin_demersalsamplesites")
	private List<String> demersalsamplesites = new ArrayList<String>();
	@Field("siin_lines")
	private List<String> lines = new ArrayList<String>();
	@Field("siin_quadrats")
	private List<String> quadrats = new ArrayList<String>();
	@Field("siin_belts")
	private List<String> belts = new ArrayList<String>();
	@Field("siin_yangs")
	private List<String> yangs = new ArrayList<String>();
	@Field("siin_parent_wetland_id")
	private String parentWetlandId;//主体id
	@Field("siin_pictures")
	private List<String> pictures = new ArrayList<String>();
	@Field("siin_ecologicalfeature")
	private String ecologicalfeature;
	@Field("siin_show")
	private int show;//1显示0不显示
	@Field("siin_remarks")
	private String remarks;//备注
	@Field("siin_workinfo")
	private String workinfo;//工作状态

}
